package com.whjfxx.terminal.biz.enums;

import com.whjfxx.terminal.enums.IEnum;

/**
 * Created by b.c on 2022/5/19 14:37
 */
public enum StatusEnum implements IEnum {

    Y ("1", "有效"),
    N ("0", "无效"),
    ;

    public String code;

    public String desc;

    StatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
